﻿<!DOCTYPE html>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width" />
    <meta name="renderer" content="webkit|ie-comp">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome =1">
    <title>@ViewBag.Title</title>
    <link href="~/Content/lib/layui/css/layui.css" rel="stylesheet" />
    <link href="~/Content/css/contextmenu.css" rel="stylesheet" />
    <link href="~/Content/css/common.css" rel="stylesheet" />
 

    <script src="~/Content/js/global.js"></script>
    <script src="~/Content/js/jquery-3.4.1.js"></script>
    <script src="~/Content/js/jquery.timers-1.2.js"></script>
    <script src='~/Content/js/svg-pan-zoom.js'></script>
    <script src="~/Content/js/Scada.js"></script>
    <script src="~/Content/js/mouseRight.js"></script>


</head>
<body style='margin: 0;padding: 0;background-color:#000000; '>
    <script src="~/Content/lib/layui/layui.js"></script>
    <script src="~/Content/lib/echarts/echarts.min.js"></script>
    <div id='container' class='layui-layout-body' style='width:100%; height:100%'>
        @RenderBody()
    </div>
    <script>
        //加载鼠标右键菜单模块
        $('body').mouseRight({
            ele: '.contextmenu',
            menu: [{
                itemName: "实时曲线",
                icon: "fa fa-plus",
                callback: function () { alert('实时曲线') }
            }, {
                itemName: "历史曲线",
                icon: "fa fa-files-o",
                callback: function () { alert('历史曲线') }
            }, {
                itemName: "历史数据",
                icon: "fa fa-clipboard",
                callback: function () { alert('历史数据') }
            }, {
                itemName: "历史报警",
                icon: "fa fa-trash",
                callback: function () { alert('历史报警') }
            }]
        });




        //实时更新流程图数据
        SCADA.ScadaFlow();
    </script>
</body>
</html>
